package com.cdks.wuxiu.entity.mysql;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户邀请信息表
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("user_invite_info")
public class UserInviteInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间戳
     */
    @TableField("createTime")
    private Long createTime;

    /**
     * 邀请人
     */
    @TableField("inviter")
    private Long inviter;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     * 状态（0：无效，1：有效）
     */
    @TableField("status")
    private Integer status;      
}
